﻿// <copyright file="UserModel.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace MesAPI.Models.UserAndRole
{
    /// <summary>
    /// 用户.
    /// </summary>
    public class UserModel
    {
        /// <summary>
        /// Gets or sets.
        /// </summary>
        public string? UserId { get; set; }

        /// <summary>
        /// Gets or sets.
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// Gets or sets.
        /// </summary>
        public string? PassWord { get; set; }

        /// <summary>
        /// Gets or sets.
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// Gets or sets.
        /// </summary>
        public string? DepId { get; set; }

        /// <summary>
        /// Gets or sets.
        /// </summary>
        public string? GroupType { get; set; }

        /// <summary>
        /// Gets or sets.
        /// </summary>
        public string? ProductGroup { get; set; }
    }

    public class UserGroupList
    {
        public static Dictionary<string, int> GrouTypeInfo = new()
        {
            { "顶级账号", 0 },
            { "主管/管理者", 1 },
            { "物流组", 2 },
            { "数字组", 3 },
            { "驱动组",  4 },
            { "电机组", 5 },
            { "发货组", 6 },
        };
    }
}
